$('.href-gouserhome').on('click',function(){
    $.ajax({
        type:'get',
        url:'/personageIndex',
        data:'',
        success :function(data) {
            if(data.code=="personage"){
                location.href="personage.html";
            }
        }
    })
})
$('.btn-2').on('click',function(){
    console.log(788)
    $.ajax({
        type:'get',
        url:'/msiIndex',
        data:'',
        success :function(data) {
            console.log(111)
            if(data.code=="msiIndex"){
                location.href="msi.html";
            }
        }
    })
})
